Afghanistan said Pak was diverting attention of the international community from its 'longstanding failure' to take effective action against terrorist groups.